<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{saleLoanPaymentBean.id}"/>
		<f:event type="preRenderView" listener="#{saleLoanPaymentBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sale Loan Payment"/>

	<ui:define name="header">
		Sale Loan Payment
	</ui:define>

	<ui:define name="subheader">
		View existing Sale Loan Payment
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentSaleLoanContract" value="Sale Loan Contract:"/>
			<h:link id="saleLoanPaymentBeanSaleLoanPaymentSaleLoanContract" outcome="/form/saleLoanContract/view" value="#{saleLoanPaymentBean.saleLoanPayment.saleLoanContract}">
				<f:param name="id" value="#{saleLoanPaymentBean.saleLoanPayment.saleLoanContract.recNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayOrgNo" value="Pay Org No:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayOrgNo" value="#{saleLoanPaymentBean.saleLoanPayment.payOrgNo}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentDueDate" value="Due Date:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentDueDate" value="#{saleLoanPaymentBean.saleLoanPayment.dueDate}">
				<f:convertDateTime type="date"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentInstallmentValPerMonth" value="Installment Val Per Month:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentInstallmentValPerMonth" value="#{saleLoanPaymentBean.saleLoanPayment.installmentValPerMonth}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPrincipalVal" value="Principal Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPrincipalVal" value="#{saleLoanPaymentBean.saleLoanPayment.principalVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayPrincipalVal" value="Pay Principal Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayPrincipalVal" value="#{saleLoanPaymentBean.saleLoanPayment.payPrincipalVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentInterestVal" value="Interest Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentInterestVal" value="#{saleLoanPaymentBean.saleLoanPayment.interestVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayInterestVal" value="Pay Interest Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayInterestVal" value="#{saleLoanPaymentBean.saleLoanPayment.payInterestVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentLoanFeeVal" value="Loan Fee Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentLoanFeeVal" value="#{saleLoanPaymentBean.saleLoanPayment.loanFeeVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeVal" value="Pay Loan Fee Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeVal" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentInstallmentVal" value="Installment Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentInstallmentVal" value="#{saleLoanPaymentBean.saleLoanPayment.installmentVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayInstallmentVal" value="Pay Installment Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayInstallmentVal" value="#{saleLoanPaymentBean.saleLoanPayment.payInstallmentVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPrincipalRemainVal" value="Principal Remain Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPrincipalRemainVal" value="#{saleLoanPaymentBean.saleLoanPayment.principalRemainVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentInterestRemainVal" value="Interest Remain Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentInterestRemainVal" value="#{saleLoanPaymentBean.saleLoanPayment.interestRemainVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentLoanFeeRemainVal" value="Loan Fee Remain Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentLoanFeeRemainVal" value="#{saleLoanPaymentBean.saleLoanPayment.loanFeeRemainVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentInstallmentRemainVal" value="Installment Remain Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentInstallmentRemainVal" value="#{saleLoanPaymentBean.saleLoanPayment.installmentRemainVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayOthOrgStatus" value="Pay Oth Org Status:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayOthOrgStatus" value="#{saleLoanPaymentBean.saleLoanPayment.payOthOrgStatus}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayOthOrgLoanFeeVal" value="Pay Oth Org Loan Fee Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayOthOrgLoanFeeVal" value="#{saleLoanPaymentBean.saleLoanPayment.payOthOrgLoanFeeVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayDtm" value="Pay Dtm:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayDtm" value="#{saleLoanPaymentBean.saleLoanPayment.payDtm}">
				<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayPartNo" value="Pay Part No:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayPartNo" value="#{saleLoanPaymentBean.saleLoanPayment.payPartNo}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentContractPayPartNo" value="Contract Pay Part No:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentContractPayPartNo" value="#{saleLoanPaymentBean.saleLoanPayment.contractPayPartNo}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentLateDayVal" value="Late Day Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentLateDayVal" value="#{saleLoanPaymentBean.saleLoanPayment.lateDayVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentStatusIsManualPayFine" value="Status Is Manual Pay Fine:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentStatusIsManualPayFine" value="#{saleLoanPaymentBean.saleLoanPayment.statusIsManualPayFine}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentFineVal" value="Fine Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentFineVal" value="#{saleLoanPaymentBean.saleLoanPayment.fineVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeDunningLetterVal" value="Pay Loan Fee Dunning Letter Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeDunningLetterVal" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeDunningLetterVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeDunningVal" value="Pay Loan Fee Dunning Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeDunningVal" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeDunningVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeOutsideVal" value="Pay Loan Fee Outside Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeOutsideVal" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeOutsideVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeExtra3Val" value="Pay Loan Fee Extra 3Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeExtra3Val" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeExtra3Val}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeExtra4Val" value="Pay Loan Fee Extra 4Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeExtra4Val" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeExtra4Val}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayPendingStatus" value="Pay Pending Status:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayPendingStatus" value="#{saleLoanPaymentBean.saleLoanPayment.payPendingStatus}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentCompoundDebtPendingInterestVal" value="Compound Debt Pending Interest Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentCompoundDebtPendingInterestVal" value="#{saleLoanPaymentBean.saleLoanPayment.compoundDebtPendingInterestVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayCompoundDebtPendingInterestVal" value="Pay Compound Debt Pending Interest Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayCompoundDebtPendingInterestVal" value="#{saleLoanPaymentBean.saleLoanPayment.payCompoundDebtPendingInterestVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingPrincipalVal" value="Pending Principal Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPendingPrincipalVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingPrincipalVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingInterestVal" value="Pending Interest Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPendingInterestVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingInterestVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingLoanFeeVal" value="Pending Loan Fee Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPendingLoanFeeVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingLoanFeeVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingInstallmentVal" value="Pending Installment Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPendingInstallmentVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingInstallmentVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingFineVal" value="Pending Fine Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPendingFineVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingFineVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingLateDayVal" value="Pending Late Day Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPendingLateDayVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingLateDayVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentReceiptCode" value="Receipt Code:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentReceiptCode" value="#{saleLoanPaymentBean.saleLoanPayment.receiptCode}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentReceiptByEmpNo" value="Receipt By Emp No:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentReceiptByEmpNo" value="#{saleLoanPaymentBean.saleLoanPayment.receiptByEmpNo}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentReceiptManualStatus" value="Receipt Manual Status:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentReceiptManualStatus" value="#{saleLoanPaymentBean.saleLoanPayment.receiptManualStatus}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentReceiptAllowPrintStatus" value="Receipt Allow Print Status:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentReceiptAllowPrintStatus" value="#{saleLoanPaymentBean.saleLoanPayment.receiptAllowPrintStatus}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentStatusIsPay" value="Status Is Pay:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentStatusIsPay" value="#{saleLoanPaymentBean.saleLoanPayment.statusIsPay}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayContractStatusNo" value="Pay Contract Status No:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentPayContractStatusNo" value="#{saleLoanPaymentBean.saleLoanPayment.payContractStatusNo}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentStatusIsGenFinTrans" value="Status Is Gen Fin Trans:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentStatusIsGenFinTrans" value="#{saleLoanPaymentBean.saleLoanPayment.statusIsGenFinTrans}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentJnSpRecNoForTmd02" value="Jn Sp Rec No For Tmd 02:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentJnSpRecNoForTmd02" value="#{saleLoanPaymentBean.saleLoanPayment.jnSpRecNoForTmd02}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentStatusIsPayAdvanced" value="Status Is Pay Advanced:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentStatusIsPayAdvanced" value="#{saleLoanPaymentBean.saleLoanPayment.statusIsPayAdvanced}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentJnSpRecNo" value="Jn Sp Rec No:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentJnSpRecNo" value="#{saleLoanPaymentBean.saleLoanPayment.jnSpRecNo}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentCloseBfEndtermDiscVal" value="Close Bf Endterm Disc Val:"/>
			<h:outputText id="saleLoanPaymentBeanSaleLoanPaymentCloseBfEndtermDiscVal" value="#{saleLoanPaymentBean.saleLoanPayment.closeBfEndtermDiscVal}"/>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentSaleLoanPaymentAdvanceds" value="Sale Loan Payment Advanceds:"/>
			<h:dataTable id="saleLoanPaymentBeanSaleLoanPaymentSaleLoanPaymentAdvanceds" styleClass="data-table" value="#{forgeview:asList(saleLoanPaymentBean.saleLoanPayment.saleLoanPaymentAdvanceds)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pay Installment Val"/>
					</f:facet>
					<h:link outcome="/form/saleLoanPaymentAdvanced/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPayInstallmentVal" value="#{_item.payInstallmentVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pay Principal Val"/>
					</f:facet>
					<h:link outcome="/form/saleLoanPaymentAdvanced/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPayPrincipalVal" value="#{_item.payPrincipalVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pay Interest Val"/>
					</f:facet>
					<h:link outcome="/form/saleLoanPaymentAdvanced/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPayInterestVal" value="#{_item.payInterestVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pay Loan Fee Val"/>
					</f:facet>
					<h:link outcome="/form/saleLoanPaymentAdvanced/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPayLoanFeeVal" value="#{_item.payLoanFeeVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Pay Compound Debt Pending Interest Val"/>
					</f:facet>
					<h:link outcome="/form/saleLoanPaymentAdvanced/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemPayCompoundDebtPendingInterestVal" value="#{_item.payCompoundDebtPendingInterestVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentSaleLoanPaymentReceiptCancels" value="Sale Loan Payment Receipt Cancels:"/>
			<h:dataTable id="saleLoanPaymentBeanSaleLoanPaymentSaleLoanPaymentReceiptCancels" styleClass="data-table" value="#{forgeview:asList(saleLoanPaymentBean.saleLoanPayment.saleLoanPaymentReceiptCancels)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Old Receipt By Emp No"/>
					</f:facet>
					<h:link outcome="/form/saleLoanPaymentReceiptCancel/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemOldReceiptByEmpNo" value="#{_item.oldReceiptByEmpNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="New Receipt Code"/>
					</f:facet>
					<h:link outcome="/form/saleLoanPaymentReceiptCancel/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemNewReceiptCode" value="#{_item.newReceiptCode}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cancel Memo"/>
					</f:facet>
					<h:link outcome="/form/saleLoanPaymentReceiptCancel/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCancelMemo" value="#{_item.cancelMemo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cancel Dtm"/>
					</f:facet>
					<h:link outcome="/form/saleLoanPaymentReceiptCancel/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCancelDtm" value="#{_item.cancelDtm}">
							<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
						</h:outputText>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Cancel By Emp No"/>
					</f:facet>
					<h:link outcome="/form/saleLoanPaymentReceiptCancel/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemCancelByEmpNo" value="#{_item.cancelByEmpNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>